package com.shujia.jdbc.pool;

import java.sql.Connection;

public class ShujiaConnection {

    private Connection connection;

    public ShujiaConnection(Connection connection) {
        this.connection = connection;
    }

    public Connection getConnection() {
        return connection;
    }

    public void setConnection(Connection connection) {
        this.connection = connection;
    }


    public void close() {
        ShujiaConnectionPool.close(connection);
    }
}
